2538b29962926fc9ad4c97bc76566c053c0feba7,tests/other/org/jgroups/tests/UnicastTestRpcDist.java,UnicastTestRpcDist,setNumMessages,#,311

Before Change


    }

    void setNumMessages() throws Exception {
        num_msgs=Util.readIntFromStdin("Number of RPCs: ");
        System.out.println("Set num_msgs=" + num_msgs);
        print=num_msgs / 10;
    }

After Change


    }

    void setNumMessages() throws Exception {
        int tmp=Util.readIntFromStdin("Number of RPCs: ");
        disp.callRemoteMethods(null, new MethodCall(SET_NUM_MSGS, tmp), RequestOptions.SYNC);
    }

    void setMessageSize() throws Exception {